﻿using UnityEngine;
using System.Collections;
using PBMessage;
using GameUnit;
public class GamePlayer
{
    long userId;
    public long UserId { get { return userId; }}

    public int Camp;
    public string NickName;
    public string Account;

    public Unit MainUnit;
    public GamePlayer(ReadRoomPlayer readyPlayer)
    {
        this.Account = readyPlayer.Account;
        this.NickName = readyPlayer.NickName;
        this.userId = readyPlayer.UserId;
    }
}
